package cn.openbiotoken.android;

import android.content.Context;
import android.graphics.Bitmap;

import androidx.annotation.NonNull;

import cn.openbiotoken.BiometricsFeatureExtractor;

public abstract class BitmapBiometricsFeatureExtractor<Feature> implements BiometricsFeatureExtractor<Feature> {

    public BitmapBiometricsFeatureExtractor(@NonNull final Context context, @NonNull final Bitmap bitmap) {
        super();
        this.context = context;
        this.bitmap = bitmap;
    }

    protected final @NonNull Context context;

    protected final @NonNull Bitmap bitmap;

    @NonNull
    public Context getContext() {
        return context;
    }

    @NonNull
    public Bitmap getBitmap() {
        return bitmap;
    }
}
